<!DOCTYPE html>
<html>
    <head>
        <title>产品购买</title>
        <style type="text/css">
            body{font-size: 14px}
            td{padding: 5px}
        </style>
    </head>
    <body>
        <form action="{{ url_for('alipay.alipayapi')}}" method="POST">
            <input name="productno" value="20150001" type="hidden">
            <input name="quantity" value="{{ quantity }}" type="hidden">
            <table>
                <tr><td>商品名称:</td><td>{{ productname }}</td></tr>
                <tr><td>商品描述:</td><td>{{ productdesc }}</td></tr>
                <tr><td>商品单价:</td><td>{{ price }}</td></tr>
                <tr><td>单件优惠:</td><td>{{ discount }}</td></tr>
                <tr><td>购买数量:</td><td>{{ quantity }}</td></tr>
                <tr><td>实付金额:</td><td>{{ total_fee }}</td></tr>
                <tr><td></td><td><input type="submit" value="确认购买"></td></tr>
            </table>
        </form>
    </body>
</html>
